home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / pvm34b3.zip / pvm34b3 / pvmtest / pvm_test_slave.c < prev    next >
C/C++ Source or Header  |  1995-05-22  |  374b  |  19 lines

  1. /****************************************/
  2. /*    pvm_test_slave.c        */
  3. /*    Generic slave            */
  4. /****************************************/
  5.  
  6. #include "pvm_test.h"
  7. #include "module_list.h"
  8. #include "test_list.h"
  9.  
  10. main(argc,argv)
  11. int argc;
  12. char **argv;
  13. {
  14. int mytid;
  15. mytid = pvm_mytid();
  16. /*    Call the corresponding function for the slave    */
  17. module_list[atoi(argv[1])-1].proc_slave();
  18. }
  19.